home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
macros
/
latex209
/
contrib
/
misc
/
rmthm.sty
< prev
next >
Wrap
Text File
|
1991-07-05
|
908b
|
24 lines
% rmthm.sty, by nico@cs.ruu.nl
% This version is of 14 June 1991.
% You can change the style in which your \newtheorems are typeset with
% \renewcommand{\theoremstyle}{...}.
% Default is \rm (hence the name of this file).
% You can also specify an end-of-theorem marker with
% \renewcommand{\theoremclosing}{...}.
% Default is a box flushed right.
% If you don't want your theorems to be numbered, number them like
% the nonumtheorem theorem environment, i.e.
% \newtheorem{thm}[nonumthm]{Thm}.
\def\@begintheorem#1#2{\theoremstyle
\trivlist \item[\hskip \labelsep{\bf #1\ #2}]}
\def\@opargbegintheorem#1#2#3{\theoremstyle
\trivlist \item[\hskip \labelsep{\bf #1\ #2\ (#3)}]}
\def\@endtheorem{\nopagebreak\theoremclosing\endtrivlist}
\def\theoremstyle{\rm}
\def\theoremclosing{\hfill$\Box$}
\newtheorem{nonumthm}{\relax}
\renewcommand{\thenonumthm}{\relax}